for i in range(1,8,2):
    print ' '*(4-(i+1)/2)+'*'*i
for i in range(5,0,-2):
    print ' '*(4-(i+1)/2)+'*'*i